//
//  PtPeopleView.h
//  SafeFoodManagerDemo
//
//  Created by bob on 2017/11/10.
//  Copyright © 2017年 bob. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^PtPeopleBlock)(NSString*people,NSString*Escortinspector,NSString*date);

typedef void(^DateBlock)(UITextField*);
@interface PtPeopleView : UIView
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIView *ContentView;
@property (weak, nonatomic) IBOutlet UITextField *PeopleTextFile;
@property (weak, nonatomic) IBOutlet UITextField *ChangeTextFile;
@property (weak, nonatomic) IBOutlet UITextField *EscortInspectorTextFile;

@property(nonatomic,copy)DateBlock ClickBlock;

-(instancetype)initWithFrame:(CGRect)frame andBlock:(PtPeopleBlock)block;

-(void)popWithSuperView:(UIView*)superView;

@end
